package org.example.Day12;

public class getMaxIndex {
    public static int getMaxIndex1(String data){
        if(data==null){
            return -1;

        }
        return data.length();
    }
}
